import Vue from 'vue'

import moment from 'moment'

moment.locale('zh-cn')

Vue.filter('fromNow', function (value) {
  //   console.log('全局过滤器')
  return moment(value).fromNow()
})
